This allows an url like example.com/wiki/Special:RecentChanges/tagfilter=visualeditor
to only show changes made with the VisualEditor (instead of using the long version
like index.php?title=Special:RecentChanges&tagfilter=visualeditor).
This also allows the transclusion of the Special:RecentChanges page with a tagfilter.
Bug: T142878
Change-Id: Iaa749a556ccc422e79fbb2bac709fab45b3cc83d
if ( preg_match( '/^namespace=(\d+)$/', $bit, $m ) ) {
$opts['namespace'] = $m[1];
}
+ if ( preg_match( '/^tagfilter=(.*)$/', $bit, $m ) ) {
+ $opts['tagfilter'] = $m[1];
+ }
}
}